// meetingManagementRoutes.ts
import Layout from '/@vab/layouts/index.vue'

const meetingManagementRoutes: VabRouteRecord[] = [
  {
    path: '/meeting',
    name: 'Meeting',
    component: Layout,
    meta: {
      title: '会议管理',
      icon: 'check-line',
    },
    children: [
      {
        path: 'agenda',
        name: 'Agenda',
        component: () => import('/@/views/agenda/index.vue'),
        meta: {
          title: '议程管理',
          // 会议的议程配置
          icon: 'calendar-todo-line',
        },
      },
      {
        path: 'person',
        name: 'Person',
        component: () => import('/@/views/person/index.vue'),
        meta: {
          title: '参会人员管理',
          icon: 'user-line',
        },
      },
      {
        path: 'personSelect',
        name: 'PersonSelect',
        component: () => import('/@/views/person/select.vue'),
        meta: {
          title: '选择参会人员',
          hidden: true,
          icon: 'user-add-line',
        },
      },
      {
        path: 'execution',
        name: 'Execution',
        component: () => import('/@/views/execution/index.vue'),
        meta: {
          title: '会议签到',
          icon: 'user-line',
        },
      },
      {
        path: 'notice',
        name: 'Notice',
        component: () => import('/@/views/notice/index.vue'),
        meta: {
          title: '会议通知',
          icon: 'message-3-line',
        },
      },
      // {
      //   path: 'information',
      //   name: 'Information',
      //   component: () => import('/@/views/information/index.vue'),
      //   meta: {
      //     title: '会议信息管理',
      //     hidden: true,
      //   },
      // },
    ],
  },

  // {
  //   path: '/meeting-management/config',
  //   component: Layout,
  //   name: 'SystemConfiguration',
  //   meta: {
  //     title: '系统配置',
  //     icon: 'settings-4-line',
  //   },
  //   children: [
  //     {
  //       path: 'room-capacity',
  //       name: 'RoomCapacityConfig',
  //       component: () => import('/@/views/config/room-capacity.vue'),
  //       meta: {
  //         title: '系统配置',
  //         icon: 'layout-line',
  //       },
  //     },
  //   ],
  // },
]

export default meetingManagementRoutes
